package com.framework.spring.context.bfpp;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;

//@Component
@Slf4j(topic = "e")
public class X {

	public X() {
		log.info("X construct");
	}

	@Bean
	public Y y() {
		log.info("x @bean create y");
		return new Y();
	}
}
